let requestUtil = require('@/api/http/request.js');


//获取保养列表
export const getMaintainListAPI = (params) => {
	return requestUtil('/iot-device-saas-car/carmaintain/page', 'get',params, '');
}

//保养记录列表
export const saveMaintainAPI = (params) => {
	return requestUtil('/iot-device-saas-car/carmaintain/submit', 'post',params, '请求中');
}

//删除保养
export const removeMaintainAPI = (ids) => {
	return requestUtil('/iot-device-saas-car/carmaintain/remove', 'post',{ids:ids}, '');
}